package com.taobao.server;

import java.util.List;

import com.taobao.pojo.Smaller;
import com.taobao.pojo.TBImage;
import com.taobao.pojo.TBMessage;
import com.taobao.pojo.UserInfo;

public interface UserInfoServer {

    public UserInfo getUserInfo();
    
    public TBImage getLevelImage(UserInfo newUserInfo, UserInfo oldUserInfo);
    
    public List<Smaller> getSmaller(String userName);
    
    public List<Smaller> getSmaller(String userName, boolean enforce);
    
    public TBMessage addSmaller(Smaller smaller);

}
